/**
 * @overview 添加BIM和倾斜
 * @author dengqiang
 * @description 引用Cesium原生地形
 * @update  2022.04.08
 */
class GTerrain {
  constructor() {}

  setTerrain(url) {
    const terrainLayer = new Cesium.CesiumTerrainProvider({
      url: url,
    })
    window.map3DControl.viewer.scene.terrainProvider = terrainLayer
  }
}

export default GTerrain
